package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class CursorHoldability {

    private int beginIndex;
    private int endIndex;
    private boolean withHold;
    private boolean withoutHold;

    public CursorHoldability(int beginIndex,
                             int endIndex,
                             boolean withHold,
                             boolean withoutHold) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.withHold = withHold;
        this.withoutHold = withoutHold;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isWithHold() {
        return withHold;
    }

    public boolean isWithoutHold() {
        return withoutHold;
    }

}
